package com.lc.qianrenshiye.uitls;

import android.content.Context;
import android.view.View;
import android.view.animation.AlphaAnimation;

/**
 * Created by Administrator on 2016/12/21.
 */
public class MyAnimationUitls {

    public static void toVisibleAnim(View view) {

        //接口成功了才让显示
        view.setVisibility(View.VISIBLE);

        AlphaAnimation alphaAnimation = new AlphaAnimation(0.0f, 1.0f);
        alphaAnimation.setDuration(500);
        view.startAnimation(alphaAnimation);
    }


}
